package com.leyou.item.service.impl;

import com.baomidou.mybatisplus.extension.service.impl.ServiceImpl;
import com.leyou.common.dto.SpuDetailDTO;

import com.leyou.item.entity.SpuDetail;
import com.leyou.item.mapper.SpuDetailMapper;

import org.springframework.stereotype.Service;

@Service
public class SpuDetailService extends ServiceImpl<SpuDetailMapper, SpuDetail> implements com.leyou.item.service.SpuDetailService {

    @Override
    public SpuDetailDTO queryDetailById(Long id) {
        return new SpuDetailDTO(getById(id));
    }


}
